package jjn.round2;

/**
 * @author Jiang Jining
 * @since 2023-05-25 23:46
 */
public class Offer17_PrintNumbers {
    public int[] printNumbers(int n) {
        int max = (int) Math.pow(10, n);
        int[] result = new int[max - 1];
        for (int i = 0; i < result.length; i++) {
            result[i] = i + 1;
        }
        return result;
    }
}
